/*
 * Title:        CloudScheduler Toolkit
 * Description:  a Toolkit for Modeling and Simulation of Job Scheduling and Resource Provisioning in Cloud System
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 * Author:       Fuhui Wu
 *
 * Copyright (c) 2013-2014, The National University of Defense Technology, China
 */

package org.nudt.jCloud.simulation;

import org.nudt.jCloud.infrastructure.Host;
import org.nudt.jCloud.infrastructure.Slot;
import org.nudt.jCloud.infrastructure.SlotType;
import org.nudt.jCloud.workload.Task;

public class VirtSlot {
	private SlotType slotType;
	private Host host;
	private Task task;
	private Slot slot;
	
	public VirtSlot(SlotType slotType, Host host, Task task){
		setSlotType(slotType);
		setHost(host);
		setTask(task);
		setSlot(null);
	}
	
	public SlotType getSlotType() {
		return slotType;
	}
	
	public void setSlotType(SlotType slotType) {
		this.slotType = slotType;
	}
	
	public Host getHost() {
		return host;
	}
	
	public void setHost(Host host) {
		this.host = host;
	}
	
	public Task getTask() {
		return task;
	}
	
	public void setTask(Task task) {
		this.task = task;
	}

	public Slot getSlot() {
		return slot;
	}

	public void setSlot(Slot slot) {
		this.slot = slot;
	}

}
